﻿using BCDto.MySql.Admin;
using BCDto.OA.Attendance.AttendanceWiFi;
using System.Collections.Generic;

namespace BCService.OA.Attendance.AttendanceWiFi
{
    /// <summary>
    /// 考勤Wifi信息
    /// </summary>
    public interface IAttendanceWiFiService
    {
        /// <summary>
        /// 获取考勤WiFi信息
        /// </summary>
        /// <param name="id">id</param>
        /// <returns></returns>
        AttendanceWiFiDto Get(long id);

        /// <summary>
        ///删除考勤WiFi信息
        /// </summary>
        /// <param name="admin">当前管理员</param>
        /// <param name="id">id</param>
        /// <returns></returns>
        int Delete(AdminDto admin, long id);


        /// <summary>
        /// 新创建WiFi信息
        /// </summary>
        /// <param name="admin">当前登录管理员</param>
        /// <param name="dto">请求的WiFi信息</param>
        /// <returns></returns>
        AttendanceWiFiDto Create(AdminDto admin, AttendanceWiFiRequestDto dto);

        /// <summary>
        /// 修改指定的WiFi信息
        /// </summary>
        /// <param name="admin">当前管理员</param>
        /// <param name="id">id</param>
        /// <param name="dto">修改信息</param>
        /// <returns></returns>
        AttendanceWiFiDto Update(AdminDto admin, long id, AttendanceWiFiRequestDto dto);

        /// <summary>
        /// 获取考勤WiFi信息列表
        /// </summary>
        /// <returns></returns>
        List<AttendanceWiFiDto> GetList();


        /// <summary>
        /// 获取考勤WiFi信息列表
        /// </summary>
        /// <returns></returns>
        List<AttendanceWiFiDto> GetListByModeIdAndGroupId(long groupId);
    }
}
